﻿<%@ Page Language="C#" MasterPageFile="~/Shared/Creditos.master" AutoEventWireup="true"
    CodeFile="FormsManVerificacionTrabajo.aspx.cs" Inherits="solcred_FormsManVerificacionTrabajo" %>

<%@ MasterType VirtualPath="~/Shared/Creditos.master" %>
<%@ Register Src="../Controles/UCBarraHerramientas.ascx" TagName="UCBarraHerramientas"
    TagPrefix="uc1" %>
<%@ Register Assembly="WeclValidador" Namespace="WeclValidador" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script language="javascript" type="text/javascript">
    Sys.WebForms.PageRequestManager.getInstance().add_endRequest( 
        function (sender, arg){ 
            if (arg.get_error() && arg.get_error().name === 'Sys.WebForms.PageRequestManagerParserErrorException') 
            { 
                alert('Su tiempo de sesion ha terminado. ');
                window.location.replace('../Principal.aspx');
                // remember to set errorHandled = true to keep from getting a popup from the AJAX library itself 
                arg.set_errorHandled(true); 
            }
            var modalPopupBehavior = $find('programmaticModalPopupBehavior'); 
            modalPopupBehavior.hide(); 
       } 
    ); 
    Sys.WebForms.PageRequestManager.getInstance().add_beginRequest( 
        function (sender, args) { 
            var modalPopupBehavior = $find('programmaticModalPopupBehavior'); 
            modalPopupBehavior.show(); 
      } 
    );
    function doKeypress(control){
        maxLength = control.attributes["maxLength"].value;
        value = control.value;
        if(maxLength && value.length > maxLength-1){
            event.returnValue = false;
            maxLength = parseInt(maxLength);
        }
    }
    </script>

    <table cellpadding="0" cellspacing="0" style="border: 0; width: 99%" align="center">
        <tr>
            <td align="right" colspan="5">
                <!--Barra Herramientas -->
                <table width="100%">
                    <tr>
                        <td>
                            <uc1:UCBarraHerramientas ID="UCBarraHerramientas1" runat="server" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="celda-titulo">
                <table width="100%">
                    <tr>
                        <td>
                            <asp:HiddenField ID="hdnTipoDocumento" runat="server" />
                            <asp:HiddenField ID="hdnTipoPersona" runat="server" />
                            <asp:Label ID="lblNumeroSolicitud" runat="server" Text="´Número Solicitud:" />&nbsp;
                            <asp:TextBox ID="txtNroSolInf" runat="server" SkinID="disabled" Style="text-align: right"
                                ReadOnly="true" />&nbsp;
                            <asp:TextBox ID="txtNroPedInf" runat="server" SkinID="disabled" Style="text-align: right"
                                ReadOnly="true" />&nbsp;
                        </td>
                        <td align="right">
                            <asp:Label ID="lblRespuesta" runat="server" SkinID="labelResaltadoRojo" />&nbsp;&nbsp;&nbsp;&nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <table cellpadding="0" cellspacing="0" style="border: 0; width: 100%">
                    <tr>
                        <td class="celda-principal" colspan="4">
                            <asp:Label runat="server" ID="lblDatosSolicitante" Text="Datos Solicitante" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 15%" class="celda-titulo">
                            <asp:Label ID="lblTitular" SkinID="disabled" runat="server" Text="TITULAR" Width="96%"
                                ReadOnly="true" />
                        </td>
                        <td style="width: 45%">
                            <asp:TextBox ID="txtTitular" SkinID="disabled" runat="server" Width="96%" ReadOnly="true" />
                        </td>
                        <td style="width: 20%">                            
                            <asp:TextBox ID="txtTipDoc" SkinID="disabled" runat="server" Width="96%" ReadOnly="true" />
                        </td>
                        <td style="width: 20%">
                            <asp:TextBox ID="txtNroDoc" SkinID="disabled" runat="server" Width="96%" ReadOnly="true" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="width: 60%">
                            <asp:TextBox ID="txtDirCli" SkinID="disabled" runat="server" Width="97%" ReadOnly="true" />
                        </td>
                        <td colspan="2" style="width: 40%">
                            <asp:TextBox ID="txtCodPos" SkinID="disabled" runat="server" Width="98%" ReadOnly="true" />
                        </td>
                    </tr>
                </table>
                <table cellpadding="0" cellspacing="0" style="border: 0; width: 100%">
                    <tr>
                        <td style="width: 7%" class="celda-titulo">
                            <asp:Label ID="lblOrdenado" runat="server" Text="Ordenado por :" />
                        </td>
                        <td colspan="2" style="width: 32%">
                            <asp:TextBox ID="txtUsuIng" SkinID="disabled" runat="server" Width="96%" ReadOnly="true" />
                        </td>
                        <td colspan="2" style="width: 32%">
                            <asp:TextBox ID="txtUsuEnv" SkinID="disabled" runat="server" Width="96%" ReadOnly="true" />
                        </td>
                        <td style="width: 7%" class="celda-titulo">
                            <asp:Label ID="lblFechaEnvio" runat="server" Text="Fecha Envío:" />
                        </td>
                        <td style="width: 10%">
                            <asp:TextBox ID="txtFecEnv" SkinID="disabled" runat="server" Width="93%" ReadOnly="true" />
                        </td>
                        <td style="width: 10%">
                            <asp:TextBox ID="txtHorEnv" SkinID="disabled" runat="server" Width="93%" ReadOnly="true" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 7%" class="celda-titulo">
                            <asp:Label ID="lblVerificado" runat="server" Text="Verificado por:" />
                        </td>
                        <td style="width: 5%">
                            <asp:TextBox ID="txtCodEmp" SkinID="disabled" runat="server" Width="95%" ReadOnly="true" />
                        </td>
                        <td style="width: 27%">
                            <asp:TextBox ID="txtNombreEmp" SkinID="disabled" runat="server" Width="95%" ReadOnly="true" />
                        </td>
                        <td style="width: 5%">
                            <asp:TextBox ID="txtNroSec" SkinID="disabled" runat="server" Width="95%" ReadOnly="true" />
                        </td>
                        <td style="width: 27%">
                            <asp:TextBox ID="txtNomAge" SkinID="disabled" runat="server" Width="95%" ReadOnly="true" />
                        </td>
                        <td style="width: 7%" class="celda-titulo">
                            <asp:Label ID="Label6" runat="server" Text="Fecha Visita (*):" />
                        </td>
                        <td style="width: 10%">
                            <asp:TextBox ID="txtFecVis" runat="server" Width="93%" />
                        </td>
                        <td style="width: 10%">
                            <asp:TextBox ID="txtHorVis" runat="server" Width="93%" MaxLength="6" />
                        </td>
                    </tr>
                </table>
                <table cellpadding="0" cellspacing="0" style="border: 0; width: 100%">
                    <tr>
                        <td class="celda-titulo" style="width: 7%">
                            <asp:Label ID="Label28" runat="server" Text="Razón Social" />
                        </td>
                        <td style="width: 10%">
                            <asp:TextBox ID="txtNroRuc" SkinID="disabled" runat="server" Width="99%" ReadOnly="true"
                                MaxLength="11" />
                        </td>
                        <td colspan="3" style="width: 83%">
                            <asp:TextBox ID="txtRazSoc" SkinID="disabled" runat="server" Width="99%" ReadOnly="true" />
                        </td>
                    </tr>
                    <tr>
                        <td class="celda-titulo" style="width: 7%">
                            <asp:Label ID="Label7" runat="server" Text="Dirección" />
                        </td>
                        <td colspan="4" style="width: 93%">
                            <asp:TextBox ID="txtDesDir" SkinID="disabled" ReadOnly="true" runat="server" Width="99%"
                                MaxLength="80" />
                        </td>
                    </tr>
                    <tr>
                        <td class="celda-titulo" style="width: 7%">
                            &nbsp;
                        </td>
                        <td colspan="2" style="width: 25%">
                            <asp:TextBox ID="txtDepProvDist" SkinID="disabled" runat="server" Width="30%" ReadOnly="true" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <table cellpadding="0" cellspacing="0" style="border: 0; width: 100%">
                    <tr>
                        <td class="celda-principal" colspan="8">
                            <asp:Label ID="Label12" runat="server" Text="Resultado Verificación" />
                        </td>
                    </tr>
                    <tr>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label15" runat="server" Text="Tipo inmueble (*)" />
                        </td>
                        <td style="width: 25%">
                            <asp:DropDownList ID="ddlTipoInmueble" runat="server" Width="99%" />
                        </td>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label16" runat="server" Text="Contrato:" />
                        </td>
                        <td style="width: 25%" colspan="3">
                            <asp:DropDownList ID="ddlContrato" runat="server" Width="50%" />
                        </td>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label22" runat="server" Text="Propietario:" />
                        </td>
                        <td style="width: 26%">
                            <asp:DropDownList ID="ddlPropietario" runat="server" Width="99%" />
                        </td>
                    </tr>
                    <tr>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label17" runat="server" Text="Tipo de Zona:" />
                        </td>
                        <td style="width: 25%">
                            <asp:DropDownList ID="ddlTipoZona" runat="server" Width="99%" />
                        </td>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label18" runat="server" Text="Tiempo Empleo" />
                        </td>
                        <td style="width: 8%">
                            <asp:TextBox ID="txtAntLab" runat="server" Width="90%" MaxLength="2" />
                            <cc1:WeclValidadorExtender ID="STSValidatorExtender1" runat="server" TargetControlID="txtAntLab"
                                TipoValidacion="ValidarEntero">
                            </cc1:WeclValidadorExtender>
                        </td>
                        <td style="width: 8%">
                            <asp:TextBox ID="txtMesLab" runat="server" Width="90%" MaxLength="2" />
                            <cc1:WeclValidadorExtender ID="STSValidatorExtender2" runat="server" TargetControlID="txtMesLab"
                                TipoValidacion="ValidarEntero">
                            </cc1:WeclValidadorExtender>
                        </td>
                        <td style="width: 9%">
                            <asp:Label ID="Label11" runat="server" Text="(años/meses)" />
                        </td>
                        <td class="celda-titulo">
                            <asp:Label ID="Label26" runat="server" Text="Atendido:" />
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlAtendido" runat="server" Width="99%" />
                        </td>
                    </tr>
                    <tr>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label25" runat="server" Text="Tipo Construcción (*):" />
                        </td>
                        <td style="width: 25%">
                            <asp:DropDownList ID="ddlTipoConstruccion" runat="server" Width="99%" />
                        </td>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label13" runat="server" Text="Sueldo:" />
                        </td>
                        <td colspan="3" style="width: 25%">
                            <asp:TextBox ID="txtSueImp" runat="server" Width="25%" MaxLength="10" />
                            <cc1:WeclValidadorExtender ID="STSValidatorExtender3" runat="server" TargetControlID="txtSueImp"
                                TipoValidacion="ValidarEntero">
                            </cc1:WeclValidadorExtender>
                            <asp:DropDownList ID="ddlMoneda" runat="server" Width="50%" />
                        </td>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label36" runat="server" Text="Labora (*):" />
                        </td>
                        <td style="width: 26%">
                            <asp:DropDownList ID="ddlLabora" runat="server" Width="99%" />
                        </td>
                    </tr>
                    <tr>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label1" runat="server" Text="Est. Inmueble:" />
                        </td>
                        <td style="width: 25%">
                            <asp:DropDownList ID="ddlEstadoInmueble" runat="server" Width="99%" />
                        </td>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label14" runat="server" Text="Base Sueldo:" />
                        </td>
                        <td style="width: 25%" colspan="3">
                            <asp:DropDownList ID="ddlBaseSueldo" runat="server" Width="50%" />
                        </td>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label20" runat="server" Text="Entrevistado:" />
                        </td>
                    </tr>
                    <tr>
                        <td class="celda-titulo" style="width: 8%">
                        </td>
                        <td style="width: 25%">
                        </td>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label37" runat="server" Text="Frec. Pago:" />
                        </td>
                        <td style="width: 25%" colspan="3">
                            <asp:DropDownList ID="ddlFrecPago" runat="server" Width="50%" />
                        </td>
                        <td class="celda-titulo" style="width: 34%" colspan="2">
                            <asp:TextBox ID="txtEntrevistado" runat="server" Width="98%" MaxLength="30" />
                        </td>
                    </tr>
                    <tr>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label31" runat="server" Text="Comunicación:" />
                        </td>
                        <td style="width: 25%">
                            <asp:DropDownList ID="ddlMedioComunicacion" runat="server" Width="99%" />
                        </td>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label27" runat="server" Text="Cargo:" />
                        </td>
                        <td style="width: 25%" colspan="3">
                            <asp:TextBox ID="txtCargoEmpleado" runat="server" Width="98%" MaxLength="30" />
                        </td>
                        <td style="width: 34%" colspan="2">
                            <asp:TextBox ID="txtNomCargo" runat="server" Width="98%" MaxLength="15" />
                        </td>
                    </tr>
                    <tr>
                        <td class="celda-titulo" style="width: 8%">
                        </td>
                        <td style="width: 25%">
                        </td>
                        <td class="celda-titulo" style="width: 8%">
                            <asp:Label ID="Label30" runat="server" Text="Area/Sección:" />
                        </td>
                        <td style="width: 25%" colspan="3">
                            <asp:TextBox ID="txtArea" runat="server" Width="98%" MaxLength="40" />
                        </td>
                        <td style="width: 34%" colspan="2">
                            <asp:TextBox ID="txtCargo" runat="server" Width="98%" MaxLength="40" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="right" colspan="2">
                <asp:Label ID="Label313" runat="server" Text="Resultado Verificación (*):" />&nbsp;<asp:DropDownList
                    ID="ddlResultado" runat="server" Width="35%" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <table cellpadding="0" cellspacing="0" style="border: 0; width: 100%">
                    <tr>
                        <td class="celda-principal">
                            <asp:Label ID="Label32" runat="server" Text="Apreciaciones (*):" />
                        </td>
                    </tr>
                    <tr>
                        <td width="70%">
                            <asp:TextBox ID="txtDesApr" runat="server" TextMode="MultiLine" Width="99%" Rows="5"
                                MaxLength="250" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
